app.controller("logController",function ($scope,logService) {
    $scope.username="";

    $scope.getUsername=function () {

        logService.getUserNameService().success(
            function (response) {
                $scope.username=response.name;
            }
        )
    }


})